<html><head>
   <title>Code Completion and Call Tips</title>
   <meta name="generator"  content="HelpMaker.net">
   <meta name="keywords"  content="Code Completion,Call Tips,EditorInteractive Interpreter"></head>
<body bgcolor="#FFFCEA">
<table width="100%"  border="0"  cellspacing="0"  cellpadding="2"  bgcolor="#C0C0C0">
  <tr>
    <td align="left">
      <div align="left"><font face="Arial"  size="4"><span style=" font-size:14pt; font-family:Arial; color:#000000">Code Completion and Call Tips</span></font></div>

    </td>
    <td align="right">
      <font face="Arial"  size="2">
        <a href="editorfeatures.htm">Previous</a>&nbsp;<a href="pyscripter.htm">Top</a>&nbsp;<a href="editorshortcuts.htm">Next</a>
      </font>
    </td>
  </tr></table>
<hr><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">Code completion and call tips are available both in the editor windows and in the interactive 
Python interpreter window.</span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><b><br></b></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><b>Code Completion</b></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">When you type a qualified identifier (containing &quot;.&quot;, e.g. sys.modules) as soon as you press 
the &quot;.&quot; and after a short delay a list with all available members pops up from which you can 
select using the mouse or filter by typing the first few letters.&nbsp; The current selection in this list 
is copied to the interactive interpreter window as soon as:</span></font></div><div align="left"  style="margin-left:25mm; margin-right:0mm; text-indent:-6mm; margin-top:0.00mm; margin-bottom:0.00mm;"><font face="Symbol"  color="#010101"><span style=" font-size:11pt; font-family:Symbol; color:#010101">&middot;</span></font><font face="Arial"  color="#010101"><span style=" font-size:11pt; font-family:Arial; color:#010101">&nbsp;&nbsp; &nbsp;</span></font><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">you press ENTER</span></font></div><div align="left"  style="margin-left:25mm; margin-right:0mm; text-indent:-6mm; margin-top:0.00mm; margin-bottom:0.00mm;"><font face="Symbol"  color="#010101"><span style=" font-size:11pt; font-family:Symbol; color:#010101">&middot;</span></font><font face="Arial"  color="#010101"><span style=" font-size:11pt; font-family:Arial; color:#010101">&nbsp;&nbsp; &nbsp;</span></font><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">you press TAB</span></font></div><div align="left"  style="margin-left:25mm; margin-right:0mm; text-indent:-6mm; margin-top:0.00mm; margin-bottom:0.00mm;"><font face="Symbol"  color="#010101"><span style=" font-size:11pt; font-family:Symbol; color:#010101">&middot;</span></font><font face="Arial"  color="#010101"><span style=" font-size:11pt; font-family:Arial; color:#010101">&nbsp;&nbsp; &nbsp;</span></font><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">you press &quot;.&quot;, &quot;(&quot;, &quot;)&quot;, &quot;[&quot;, &quot;]&quot; or space.</span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">You can hide the code completion list by pressing the ESC key.</span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">You may also activate code completion at any point either before you start writing an identifier 
name or after, as well as before typing the '.'&nbsp; or after, by pressing the <b>keyboard shortcut 
Ctrl+SPACE</b>.&nbsp; At all times you will get a filtered list of the names which are within the scope of 
the position at which you are within a module.</span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">Support is also provided for the completion of the import statement. e.g. (^ stands for pressing 
Ctrl+Space) </span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"  style="margin-left:13mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">import ^</span></font></div><div align="left"  style="margin-left:13mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">import in^</span></font></div><div align="left"  style="margin-left:13mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">import inspect as isp, cty^</span></font></div><div align="left"  style="margin-left:13mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">from ^</span></font></div><div align="left"  style="margin-left:13mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">from inspect import g^</span></font></div><div align="left"  style="margin-left:13mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">from inspect import a as b, g^</span></font></div><div align="left"  style="margin-left:13mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">from ..modname import a as b, g^</span></font></div><div align="left"  style="margin-left:13mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">from .. import modname as m, another^</span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><b>Call tips</b></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">When you open a left bracket &quot;(&quot; after typing a function name or a class name, and after a 
short delay, PyScripter pops up a call tip (hint window) with information about the expected 
parameters of the function you are entering as well as the doc string of the function if it is 
available.&nbsp; This call tip window stays on until you complete entering the function parameters 
and type the right bracket.&nbsp; You can hide a call tip by clicking on it).</span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">You may also activate call tips at any point after you started writing the parameters of a 
function, by pressing the <b>keyboard shortcut Shift+Ctrl+SPACE</b>.&nbsp; </span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><i>Note: The code and parameter completion should be one of the best you can find in any 
Python IDE.&nbsp; However,if you find that code and parameter completion is not very accurate for 
certain modules and packages such as wxPython and scipy you can achieve near perfect 
completion if you add these packages to the &quot;Special Packages&quot; </i></span></font><a href="ideoptions.htm"><font face="Arial"  color="#0000ff"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#0000ff"><i><u>IDE option</u></i></span></font></a><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><i> 
(comma 
separated list). By default it is set to &quot;os, wx, scipy&quot;. Special packages are imported on 
demand to the interpreter instead of scanning their source code.</i></span></font></div>

</body></html>
